package com.itnoob.log.impl;

import com.itnoob.log.Logger;

/**
 * 文件日志
 * @author zhoujun
 * @date 2025/3/20 22:29
 */
public class FileLoggerImpl implements Logger {

    private String fileName;

    public FileLoggerImpl(String fileName) {
        this.fileName = fileName;
    }

    @Override
    public void log(String message) {
        System.out.println("写入文件File: " + fileName +"日志="+ message);
    }
}
